package com.example.demo.T1.V2;

import java.util.Objects;

class ProB {

    String key1;

    String key2;

    String v2;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        ProA proA = (ProA) o;
        return Objects.equals(key1, proA.key1) &&
                Objects.equals(key2, proA.key2);
    }

    @Override
    public int hashCode() {
        return Objects.hash(key1, key2);
    }
}
